package com.copyctrl.mapper;

import com.copyctrl.model.CampQuestion;
import com.copyctrl.model.CampQuestionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CampQuestionMapper {
    long countByExample(CampQuestionExample example);

    int deleteByExample(CampQuestionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CampQuestion row);

    int insertSelective(CampQuestion row);

    List<CampQuestion> selectByExample(CampQuestionExample example);

    CampQuestion selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") CampQuestion row, @Param("example") CampQuestionExample example);

    int updateByExample(@Param("row") CampQuestion row, @Param("example") CampQuestionExample example);

    int updateByPrimaryKeySelective(CampQuestion row);

    int updateByPrimaryKey(CampQuestion row);
}